package com.marvels.loanapply.api;

import java.util.List;

import org.springframework.web.bind.annotation.RequestBody;

import com.github.pagehelper.PageInfo;
import com.marvels.loanapply.channel.dto.UserChannelInfoParamDTO;
import com.marvels.loanapply.channel.dto.UserChannelInfoResultDTO;
import com.marvels.loanapply.dto.ApprovalProcessConditionDTO;
import com.marvels.loanapply.dto.ApprovalProcessInfoDTO;
import com.marvels.loanapply.dto.LoanExtDataDTO;

/**
 * 进件扩展数据服务
 * @author 吴俊峰
 */
public interface LoanExtDataApi {

	/**
	 * 根据进件状态id获取中文描述
	 * @param stateId
	 * @return
	 */
	public String selectLoanStateNameById(String stateId);
	
	/**
	 * 查询进件扩展信息
	 * @param loanExtDataDTO
	 * @return
	 */
	public LoanExtDataDTO selectLoanExtData(@RequestBody LoanExtDataDTO loanExtDataDTO);
	
	/**
	 * 获取入驻渠道列表
	 * @param dto
	 * @return
	 */
	public List<UserChannelInfoResultDTO> selectUserChannelList(UserChannelInfoParamDTO dto);
	
	/**
	 * 进件列表查询
	 * @param dto
	 * @return
	 */
	public PageInfo<ApprovalProcessInfoDTO> loanListQuery(ApprovalProcessConditionDTO dto);
}
